package com.design.pattern.factory.abstracts;

import com.design.pattern.factory.simple.ThirdPartLogin;
import com.design.pattern.factory.simple.ThirdPartWeChat;

public class WeChatFactory implements AbstractFactory{
    /**
     * 定义获取产品实例的方法
     *
     * @return
     */
    @Override
    public ThirdPartLogin getThirdLogin() {
        return new ThirdPartWeChat();
    }
}
